package com.hzhr.iot.device.model.collectDevice_statusInfo;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import com.hzhr.iot.device.entity.CollectDeviceEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "CollectDevice_StatusInfoPutModel", description = "采集设备的状态信息模型(更新)")
@CygModel(entity = CollectDeviceEntity.class)
public class CollectDevice_StatusInfoPutModel {
    @ApiModelProperty(value = "说明 : 当前读数")
    @CygProperty(show = "", entityProp = "currentReading")
    private Double currentReading;
    @ApiModelProperty(value = "说明 : 当前阀门状态代码(关联: device_service.options.code, typeName = 'VALVE_STATUS')")
    @CygProperty(show = "", entityProp = "currentValveStatusCode")
    private String currentValveStatusCode;
    @ApiModelProperty(value = "说明 : 当前电池电压")
    @CygProperty(show = "", entityProp = "currentCellVoltage")
    private Float currentCellVoltage;
    @ApiModelProperty(value = "说明 : 最近采集时间(毫秒级时间戳)")
    @CygProperty(show = "", entityProp = "lastCollectTime")
    private Long lastCollectTime;

    public String getCurrentValveStatusCode() {
        return currentValveStatusCode;
    }

    public void setCurrentValveStatusCode(String currentValveStatusCode) {
        this.currentValveStatusCode = currentValveStatusCode;
    }

    public Double getCurrentReading() {
        return currentReading;
    }

    public void setCurrentReading(Double currentReading) {
        this.currentReading = currentReading;
    }

    public Float getCurrentCellVoltage() {
        return currentCellVoltage;
    }

    public void setCurrentCellVoltage(Float currentCellVoltage) {
        this.currentCellVoltage = currentCellVoltage;
    }

    public Long getLastCollectTime() {
        return lastCollectTime;
    }

    public void setLastCollectTime(Long lastCollectTime) {
        this.lastCollectTime = lastCollectTime;
    }
}
